package com.example.demo.app;

import com.example.demo.domain.app.vo.SignLogsVO;
import com.example.demo.domain.base.BaseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 积分
 *
 * @author haochen78
 * @date 2025/11/17 00:50
 **/
@RestController
@RequestMapping("/app/score")
public class ScoreController {

    /**
     * 积分明细
     */
    @PostMapping("/logs")
    public BaseResult<Void> logs() {
        return BaseResult.success();
    }

    /**
     * 签到
     */
    @PostMapping("/sign")
    public BaseResult<Void> sign() {
        return BaseResult.success();
    }

    /**
     * 签到日志
     */
    @PostMapping("/sign/logs")
    public BaseResult<SignLogsVO> signLogs() {
        return BaseResult.success();
    }

    /**
     * 积分兑换
     */
    @PostMapping("/exchange")
    public BaseResult<Void> exchange(Integer number) {
        return BaseResult.success();
    }
}
